package com.gitee.fantaros.web.fan.netcut.bean;

import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PasterInfo {

    public static PasterInfo copyOf(final PasterInfo pasterInfo) {
        PasterInfo n = new PasterInfo();
        n.setPasterName(pasterInfo.getPasterName());
        n.setPasswd(pasterInfo.getPasswd());
        n.setCreateTime(pasterInfo.getCreateTime());
        n.setModifyTime(pasterInfo.getModifyTime());
        n.setContent(pasterInfo.getContent());
        return n;
    }

    private String pasterName;
    private String passwd;
    private String createTime;

    private String modifyTime;
    private String content;

}
